export const useFormEdit = (): IItemArray[] => {
  return [
    {
      name: 'seasonName',
      label: '开发季',
      type: 'Input',
      placeholder: '请输入开发季',
      rules: [
        {
          required: true,
          message: '请输入开发季',
        },
      ],
    },
    {
      name: 'year',
      label: '年份',
      type: 'DatePicker',
      placeholder: '请选择年份',
      rules: [
        {
          required: true,
          message: '请选择年份',
        },
      ],
      config: {
        picker: 'year',
        format: 'YYYY',
      },
    },
  ]
}
